package com.ecoolex.hotel.saas.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.hotel.saas.entity.ActivityShowStore;
import com.ecoolex.hotel.saas.entity.ActivityShowStoreExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface ActivityShowStoreMapper {
    long countByExample(ActivityShowStoreExample example);

    int deleteByExample(ActivityShowStoreExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ActivityShowStore record);

    int insertSelective(@Param("record") ActivityShowStore record, @Param("selective") ActivityShowStore.Column ... selective);

    ActivityShowStore selectOneByExample(ActivityShowStoreExample example);

    List<ActivityShowStore> selectByExample(ActivityShowStoreExample example);

    ActivityShowStore selectByPrimaryKey(Integer id);

    ActivityShowStore selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") ActivityShowStore record, @Param("example") ActivityShowStoreExample example, @Param("selective") ActivityShowStore.Column ... selective);

    int updateByExample(@Param("record") ActivityShowStore record, @Param("example") ActivityShowStoreExample example);

    int updateByPrimaryKeySelective(@Param("record") ActivityShowStore record, @Param("selective") ActivityShowStore.Column ... selective);

    int updateByPrimaryKey(ActivityShowStore record);

    int batchInsert(@Param("list") List<ActivityShowStore> list);

    int batchInsertSelective(@Param("list") List<ActivityShowStore> list, @Param("selective") ActivityShowStore.Column ... selective);

    int logicalDeleteByExample(@Param("example") ActivityShowStoreExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}